﻿using System;
using System.Collections.Generic;
using System.Text;

namespace PcArduinoControl
{
	class CommandInputDigitalStream :
		Command
	{
		public byte Pin
		{
			get
			{
				return Arguments[0];
			}
		}

		public InputStreamMode Mode
		{
			get
			{
				return (InputStreamMode)Arguments[1];
			}
		}

		internal CommandInputDigitalStream(byte pin, InputStreamMode mode) :
			base(CommandType.InDigStream, pin, (byte)mode)
		{
		}
	}
}
